package com.ijiuchuang.jc_localization.tools.animation;

import android.support.annotation.NonNull;
import android.view.animation.Interpolator;

/**
 * Created by Veev on 2016/6/29
 *
 * @link 384506557@qq.com
 */
public class EaseInterpolator implements Interpolator {

    private final Ease ease;

    public EaseInterpolator(@NonNull Ease ease) {
        this.ease = ease;
    }

    @Override
    public float getInterpolation(float input) {
        return EaseReactor.get(ease, input);
    }
}
